<div class="campus-info">
  <h1><?php echo $campus['name'] ?></h1>
  <span class="info">
    <?php echo ($campus['address'])?('<p><strong>Direcci&oacute;n:</strong> ' . $campus['address'] . '</p>'):('') ?>
    <?php echo ($campus['phone'])?('<p><strong>Tel&eacute;fono:</strong> ' . $campus['phone'] . '</p>'):('') ?>
    <?php echo ($campus['phone2'])?('<p><strong>Tel&eacute;fono:</strong> ' . $campus['phone2'] . '</p>'):('') ?>
    <?php echo ($campus['fax'])?('<p><strong>Fax:</strong> ' . $campus['fax'] . '</p>'):('') ?>
  </span>
</div>
<!-- lista de departamentos -->
<div class="faculties-list">
  <ul>
    <?php foreach($faculties as $faculty): ?>
    <li>
      <?php echo anchor('listsubjects/' . url_title($campus['name']) . '/' . url_title($faculty['name']) . '/' . $faculty['id_faculty'], $faculty['name']); ?>
    </li>
    <?php endforeach; ?>
  </ul>
  <?php if( count($faculties) == 0): ?><span class="no-items">No existen departamentos</span><?php endif; ?>
</div>